home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19941221-19950208 / 000195_news@columbia.edu_Wed Jan 18 05:13:12 1995.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA20262
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Wed, 18 Jan 1995 11:52:35 -0500
  3. Received: by apakabar.cc.columbia.edu id AA08031
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Wed, 18 Jan 1995 11:52:27 -0500
  5. Path: news.columbia.edu!sol.ctr.columbia.edu!news.cs.columbia.edu!news.pipeline.com!news.intercon.com!udel!news.mathworks.com!news.alpha.net!uwm.edu!msunews!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!yoyo.aarnet.edu.au!goliath.camtech.com.au!gateway.dircsa.org.au!gateway.dircsa.org.au!not-for-mail
  6. From: arthur@gateway.dircsa.org.au (Arthur Marsh)
  7. Newsgroups: comp.protocols.kermit.misc
  8. Subject: Re: RESET MODEM HELP !!!
  9. Date: 18 Jan 1995 15:43:12 +1030
  10. Organization: DIRCSA - Disability Information and Resource Centre
  11. Lines: 52
  12. Message-Id: <3fi818$bei@gateway.dircsa.org.au>
  13. References: <3f3n2f$olt@newsgate.dircon.co.uk>
  14. Nntp-Posting-Host: gateway.dircsa.org.au
  15. X-Newsreader: TIN [version 1.1 PL8]
  16. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  17.  
  18. Spencer Clay (edge@dircon.co.uk) wrote:
  19. : Please can anyone help us to reset a modem,
  20. : By using a batch file for DOS,(possibly Kermit).
  21. : We know the AT commands to manually do this using Kermit,
  22. : they are:
  23. : AT&F8
  24. : AT&f0
  25. : AT&w0
  26. : ATZ
  27. : But we want to be able to send these commands directly
  28. : to our modem with a one liner.i.e from the Dos Command Line.
  29. : Please help us we are stupid!!!!!!!!
  30.  
  31. I use the command:
  32.  
  33. kermit take atz.tak
  34.  
  35. MSKERMIT.INI:
  36.  
  37. set flow rts/cts
  38. set block 3
  39. set window 3
  40. set send pack 4000
  41. set receive pack 4000
  42. set port 2
  43. take vt300.ini
  44. set term wrap on
  45.  
  46. ATZ.TAK:
  47.  
  48. set port 2
  49. def \%a 0
  50. :try
  51. increment \%a
  52. if > \%a 10 goto end
  53. echo modem initialisation attempt \%a\13\10
  54. output ATZ\13
  55. input 4 OK
  56. if success goto end
  57. if > \%a 2 log session c:\ff\call.log
  58. write session \v(date) \v(time) ATZ \%a FAILED\13\10
  59. goto try
  60. :end
  61. quit
  62.  
  63. This is for "fixing" stubborn modems.
  64.  
  65. Does anyone do this kind of thing for modems on Unix machines?
  66. -- 
  67. Arthur Marsh, telephone +61-8-370-2365, fax +61-8-370-2133, +61-8-223-5082 
  68.               arthur@gateway.dircsa.org.au, arthur@cswamp.apana.org.au
  69. .endofsig